#include "StdAfx.h"
#include "ddungeon.h"
#include "machine/doubledragonmachine.h"

static highscore_t highscore[] =
	{
//	{0xB260,0x60,0x00,0x48},
	{0,-1}
	};

Cddungeon::Cddungeon()
{
SetName("ddungeon");						//set romset name
SetScreen(256,256);
SetHighScoreInfo(highscore);

AddROM("dd2.bin",		0x08000,0x08000,0xa6e7f608,ROM_CPU1);
AddROM("dd3.bin",		0x10000,0x08000,0x922e719c,ROM_CPU1);
AddROM("63701.bin",	0x0C000,0x04000,0xf5232d03,ROM_CPU2);
AddROM("21j-0-1",		0x08000,0x08000,0x9efa95bb,ROM_CPU3);

//	ROM_REGION( 0x0800, REGION_CPU4, 0 )	/* 8k for the microcontroller */
//AddROM("dd_mcu.bin",   0x00000, 0x0800, 0x34cbb2d3);

AddROM("dd6.bin",		0x00000,0x08000,0x057588ca,ROM_VROM1);
AddROM("dd-7r.bin",	0x00000,0x08000,0x50d6ab5d,ROM_VROM2);
AddROM("dd-7k.bin",	0x10000,0x08000,0x43264ad8,ROM_VROM2);
AddROM("dd-6b.bin",	0x00000,0x08000,0x3deacae9,ROM_VROM3);
AddROM("dd-7c.bin",	0x10000,0x08000,0x5a2f31eb,ROM_VROM3);
AddROM("21j-6",		0x00000,0x10000,0x34755de3,ROM_SND1);
AddROM("21j-7",		0x10000,0x10000,0x904de6f8,ROM_SND1);
AddROM("21j-k-0",		0x00000,0x00100,0xfdb130a9,ROM_PROM);
AddROM("21j-l-0",		0x00100,0x00200,0x46339529,ROM_PROM);
}

CMachine *Cddungeon::CreateMachine()
{
return(new CDoubleDragonMachine());
}
